import { setupLayouts } from 'virtual:generated-layouts'

export default setupLayouts([
    {
        path: '/',
        redirect: '/home',
        meta: {
        layout: 'default',
        },
        children: [
            {
                path: 'home',
                component: () => import('@/views/home/index.vue'),
            },
            {
                path: '/video/list',
                component: () => import('@/views/video/list.vue'),
            },
            {
                path: '/audio/list',
                component: () => import('@/views/audio/list.vue'),
            },
        ]
    },
    {
        path: '/comic',
        meta: {
            layout: 'default',
        },
        children: [
            {
                path: '',
                name:'comic-index',
                component: () => import('@/views/comic/index.vue'),
            },
            {
                path: '/comic/list',
                name:'comic-list',
                component: () => import('@/views/comic/list.vue'),
            },
            {
                path: '/comic/rank',
                name:'comic-rank',
                component: () => import('@/views/comic/rank.vue'),
            },
        ]
    },
    
])
